home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SPACE 2
/
SPACE - Library 2 - Volume 1.iso
/
games
/
2a
/
applicat.ion
/
sg10.hex
< prev
next >
Wrap
Text File
|
1985-05-29
|
6KB
|
180 lines
****************************************************************
* Star SG-10 Matrix Printer Driver Configuration Table
*
* This file contains tables defining the code sequences
* to be sent to the printer to perform various functions
* and to access the characters from codes in the Atari
* character set.
* Modified by Mike Atkinson from the Gemini 10X driver by
* Dave Witzke.
****************************************************************
*
* Name of printer
* ===============
*
Star SG-10
*
* Miscellaneous configurable variables
* ====================================
*
* 1: printer type, 0=dot matrix, 1=daisy wheel
* Note if printer type is 0 the following 4 variables are never used.
* 2: unit width of one character
* 3: unit height of one line
* 4: Approximate middle of carriage after formfeed
* 5: Carriage shift for bold overstrike
*
0, 0, 0, 0, 0
*
* Printer characteristics
* =======================
*
* This table specifies the printer command sequences.
* If the top bit of a code is set, then this indicates the position
* of a parameter passed to the printer. The code whose top bit is set
* in this table is added to the parameter passed before being sent to the
* printer. It is not used in all command sequences, only in those where
* the printer requires a variable value such as the length of a vertical
* tab.
*
* 0 * Character width
1, D, A * Linefeed WITH return
* 2 * Forward print
* 3 * Reverse print
* 4, 1B, 42, 80, 0, B * Vertical tab to line (FX or LX)
* 5 * Absolute horizontal tab
6, 1B, 45 * Draft bold on
7, 1B, 46 * Draft bold off
8, 1B, 35, 1B, 45, 1B, 47 * Near Letter Quality (NLQ) bold on
9, 1B, 46, 1B, 48, 1B, 34 * NLQ bold off
A, 1B, 49, 01 * Draft italic on
B, 1B, 49, 00 * Draft italic off
C, 1B, 35, 1B, 49, 01, 1B, 47 * NLQ italic on
D, 1B, 48, 1B, 49, 00, 1B, 34 * NLQ italic off
* E * Draft light on
* F * Draft light off
*10, 1B, 46 * NLQ light on
*11, 1B, 45 * NLQ light off
12, 1B, 53, 00 * Draft superscript on
13, 1B, 54 * Draft superscript off
14, 1B, 35, 1B, 53, 00 * NLQ superscript on
15, 1B, 54, 1B, 34 * NLQ superscript off
16, 1B, 53, 01 * Draft subscript on
17, 1B, 54 * Draft subscript off
18, 1B, 35, 1B, 53, 01 * NLQ subscript on
19, 1B, 54, 1B, 34 * NLQ subscript off
1A, 1B, 2D, 01 * Draft underline on
1B, 1B, 2D, 00 * Draft underline off
1C, 1B, 2D, 01 * NLQ underline on - ! Don't change font in middle !
1D, 1B, 2D, 00 * NLQ underline off - ! of passage !
1E, C * Formfeed
1F, 12 * Horizontal initialisation
* 20 * Vertical initialisation
21, 1B, 40 * Termination: printer reset
0 * NULL termination byte
*
* Translation Table
* =================
*
* This table provides translation from single Atari input bytes into
* multiple Star printer codes, and is useful for printing extraneous
* characters such as accented characters etc. All characters are
* subjected to translation, but if there is no entry in the table for
* a particular code, then the original code is sent to the printer.
*
* The entries must be arranged in ascending order of Atari input
* code. The table is NULL terminated.
*
* No arrows with NLQ in IBM mode
0 * NULL: print a space
1, 1B, 52, 0, 7C, 8, 5E * Up arrow: USA | backspace USA ^
2, 1B, 52, 0, 7C, 8, 76 * Down arrow: USA | backspace USA v
3, 2D, 8, 3E * Right arrow: - backspace >
4, 3C, 8, 2D * Left arrow: - backspace <
5 * No close box
6 * No size box
7 * No full box
8 * No tick
9 * No clock
A * No bell
B * No musical note
E * No LH Atari symbol
F * No RH Atari symbol
10, 30 * LCD 0
11, 31 * LCD 1
12, 32 * LCD 2
13, 33 * LCD 3
14, 34 * LCD 4
15, 35 * LCD 5
16, 36 * LCD 6
17, 37 * LCD 7
18, 38 * LCD 8
19, 39 * LCD 9
23, 1B, 52, 0, 23 * # from USA fount
24, 1B, 52, 0, 24 * $ from USA fount
40, 1B, 52, 0, 40 * @ from USA fount
5B, 1B, 52, 0, 5B * [ from USA fount
5C, 1B, 52, 0, 5C * \ from USA fount
5D, 1B, 52, 0, 5D * ] from USA fount
5E, 1B, 52, 0, 5E * ^ from USA fount
5F, C4
9E, E1 * Esszet from German fount
B0, 61, 8, 1B, 52, 0, 7E * Lower case a tilde: a backspace USA ~
B1, 6F, 8, 1B, 52, 0, 7E * Lower case o tilde: o backspace USA ~
B2, ED * Capital crossed O from Danish 1 fount
B3, 1B, 52, 4, 7C * Lower case crossed o from Danish 1 fount
B4 * No lower case oe dipthong
B5 * No capital OE dipthong
B6, 41 * No capital A grave: print A
B7, 41 * No capital A tilde: print A
B8, 4F * No capital O tilde: print O
B9, 1B, 52, 1, 7E * Umlaut from French fount
BA, 27 * Acute: print '
BB * No dagger in IBM mode
BC * No paragraph symbol
BD * No copyright symbol in IBM mode
BE * No Registered symbol
BF * No Trademark symbol
C0, 79, 8, 1B, 52, 1, 7E * ij ligature: y backspace French umlaut
C1, 59 * Capital IJ ligature: print Y
C2 * No Hebrew...
C3
C4
C5
C6
C7
C8
C9
CA
CB
CC
CD
CE
CF
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
DA
DB
DC
DD, 15 * Section mark from German fount
DE, 1B, 52, 0, 5E * No dropped circumflex
DF, EC * Infinity
EC
ED
FE * No superior 3
FF * No macron
0
4444444444444444444444444444444444444444444444444444444444444444444444444444